{% extends 'base.html' %}

{% block title %}注册{% endblock %}

{% block body %}
<div class="container-fluid">
  <div class="row">
      <div class="col-lg-6 col-md-6 col-sm-8 col-xs-11 col-lg-offset-3 col-md-offset-3 col-sm-offset-2">
          <form action="{% url 'front:signup' %}" method="post">
              <div class="form-group">
                <label for="username">用户昵称</label>
                <input type="text" class="form-control" id="username" name="username">
              </div>
              <div class="form-group">
                <label for="telphone">手机号</label>
                <input type="text" class="form-control" id="telphone" name="telphone">
              </div>
              <div class="form-group">
                <label for="password">密码</label>
                <input type="password" class="form-control" id="password" name="password">
              </div>
              <div class="form-group">
                <label for="password_repeat">重复密码</label>
                <input type="password" class="form-control" id="password_repeat" name="password_repeat">
              </div>
              <button type="submit" class="btn btn-default">注册</button>
          </form>
      </div>
  </div>
</div>
{% endblock %}